<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="login/css/css.css?v=1.02" rel="stylesheet" type="text/css" />
<link href="user/css/day_common.css?v=1.02" rel="stylesheet" type="text/css" />
<script src="login/js/jquery-1.7.min.js" type="text/javascript" ></script>
<script src="login/js/bg.js" type="text/javascript"></script>
<title>100课堂</title>
</head>

<body style=" background:#fff;">
<div id="mainBody" style="width:100%; height:700px;">
<div id="cloud1" class="cloud"></div><div id="cloud2" class="cloud2"></div>
<div class="LoginBgsx">
<form action="subLogin.html" method="post" name="Logins">
<input name="sub" type="hidden" value="1">
<ul class="Fosemcc">
	<li class="yuse1"><input type="text" name="name"  value="" /></li>
    <li class="yuse1"><input type="password" name="password"  value="" /></li>
    <li class="yuse2"><input type="text" name="code" id="code" onClick="displayCode();"/>
    <img src=""" id="img_code" onclick="hcode()"  style="display:none"/>
    <a href="javascript:;" onclick="hcode()" id="a_click" style="display:none">换一张</a></li>
    <li class="yuse3"><input type="submit" value="" /></li>
</ul>
<div class="banxus">Copyright © 2013 100课堂 <A href="javaScript:void(0);">www.class100.com</A></div>
</form>
</div>
</div>
<script>
function displayCode(){
	$("#img_code").attr("style","display:''");
	document.getElementById('img_code').src="<?=SITE_URL.ADMIN_DIR?>/code_show.html&"+Math.random();
	$("#a_click").attr("style","display:''");
}
function hcode(){
	document.getElementById('img_code').src="<?=SITE_URL.ADMIN_DIR?>/code_show.html&"+Math.random();
}

$("#code").focus(function(e){
	displayCode();
    return;
})
</script>

</body>
</html>
